Add environment parameter to sudo run program and add sudo stop server