CFY-1515 add support for manager blueprints

add hooks, edit provision and change cfy to handle pyinstaller bug