Replace deprecated command