properly set prefix when runngin hooks, improved logging
Migration_Hooks.md - hook scripts need exec flag to work properly