implemented Invoke-Deploy; added checks for invoke-deploy & configure-environment