Added multi resolution support