fixed cache directory path
removed unused config settings
removed file_exists calls