adjust erb to put enviroment variables before nohup call