[BZ 961294] Expose config file option to the config mode for the wrapper script.
[BZ 961294] Move clean config option to the wrapper sh. The ec2 wrapper was using this option in an unreliable mode and could have resulted in errors in the wrapper or agent.