now loads resolution from config