Make nohup run command execute correctly