Use uidgid.d instead of aisexec{}. Fix spacing in templates.