basic usage of script lib