i currently use include on them, i think what is happening is that when the module file is included the global keyword becomes confused and cant properly find the right variable, i think the only way to solve this will be to create a class out of the module