added scripts to be run when master or staging branches are pushed