Added dpi setting