How to create and use Custom Scripts in your application.