deploy conditions, see #2