added expected hooks
bare run.sh implementation