Added DIRECTORY_SEPERATOR and global vars in one line