conditional tidy exec