better error message if compile executable doesn't exist
allow for extra hooks
extra hook example