Added the -E flag to the sudo call

This preserves the deployer's ENV.