Added some global variables for file locations and root URL