updated distribution script for window command line