Some changes for more easier to use.

Hi, I make some changes for this tool, I think it's useful.
:+1: Very good idea to extract this to resources ;)