adjust core path to be flexible across servers.