i converted your script to work on linux,
if someone would test it and tell me if there are error.
Thank for your tool it's really usefull!!
dont download the script below, i made a new one who works better! you can test it here: