Fix some commits, fix permissions on the files