bug fix, check for remote deploy  variable for everything except install sdk