Working on making the script work for both windows and unix/linux systems.