make #exec more flexible