Added some functionality to free draw tool.