updated readme to markdown and cleaned up script