Added main script and updated README.md