Fixed some bug related to the autoload function that was giving priority to the install path instead of the site path