Updated the code and guidelines added for using the tool.