updated res location

should fix #8 and also fixed #1