Attempt to fix loading files on page load.