Initial setup of DPI