modified for oil command