Changed some files to try and fix permissions