add run script method