added some script snippets

added a few snippets for developing script components