changes the resources dir