make exec command work