Reworked so that options can be provided, added to readme