added logging to deploy script