Asif | Modified deploy.py to optionally use environment variable for instance count if parameter not provided