adding unix support for config script