Version working with greyscale andB&W on server.