Add cuboid and inversecuboid handling to configfile.