Updated deployment script.
Merge branch 'Fix_PHPUnitMemoryIssue' into aws_staging