Modified CMD script