With %%bash magic, you don't need to emulate a distributed environment.