Better handling of the path of the to be printed images