define main script
Merge pull request #6 from takimo/defined_main_script

define main script