Fix for files not generating