Fix pies require
Fix pies requirement
Fix small issues with plugin
Fix small issues with kate plugin