extended deploy script