Corrected cmd script