cleaned up callback logic, more clearly identified automator output