added deploy scripts for qa and testing fixes #3743