complete deploy script