added more control options deploy and tidy to control script