added auto update of deploy scripts
improved error msgs