Exception handling and absolute path

Added exception handling with proper logging
Changed path for ‘tag’ and ‘unary’ to absolute path for automator
compatibility