explain how to use scripts