added script method