Remove cacheSlugs() call in main function