exec: now takes variables