added all methods of script