Finally managed to get pentacle building to mostly work