switched order of autoload generation