implemented papertrail plugin
better error output