working on config script