set options before nohup