Added 5 second delay to allow cache file to be created