Restructured dcmd program layout