Tested and working. Updated readme