Multios usage
Fix some bugs to make the script work on several OS (including Windows ;))