removes some leftover mock cartridge files
makes hooks executable
fixes log directory environment variable declaration