issue #2 - implemented galaxy hooks
Merge branch 'galaxy'