How to create a quick AVS template script