fixed so the commands json is relative to root