fixed unnamespaced code
updating readme with options