Added the main script and updated the Readme.