Add collect feature to deploy script