adding flip script
added setup instructions in README.md