Added snippets for component script.php
Added snippets for component script.php