aimregister now takes -g flag to define full module name