o Added GPL header
o Tweaked script to also work with MinGW/bash on Windows.