use isRunningLocally rather than runningLocally

runningLocally is deprecated now