Add main script

Added main script for require...