Use switch instead of process group for checking deployment only