Fixed commit-deployment scripts

Change-Id: I06e2c902cc292901be4dd46bcbc5908f479bebb5