added main script and package file