Add sudo before important commands on configure_env.