use abs path for script, add nginx user config