added the main script
updated readme