Updated to include deploy yes|no parameter