changed mode op prebase script