Moved xres command to makefile