Fixed scripts to run commands in background