corrected deploy script