Hopefully make the coremod work in non dev environment