Improvement #95: Added SQL script to remove unmaterializable files and change permittedGroup from null to EveryoneGroup