Remove export statements from generated script.
Improve output for generated scripts and switch host name on local
deployment.