enqueued script handles output