Better error handling on mac.
Error handling for 'before' and 'after'.