CNC script directory change bugfix.