Added script action on frontend