readme changes and empty check for returning html