Changed the name of another hook in the upload class and changed the debugLog back to 775 rather than 777