make, remove nohup and write to file instead