added system to papertrail opener
refactored to use promises