This time the correct files are added and i incorpareted the configurability of the global variable's