Added greyscale and the option of per-layer files