Change Loader to give access to the mods directory variable