added optional step which is only required if OSTYPE does not contain darwin