Fixed some flag issues and updated the README