Added sanity check - exec function must exist