add first draft of configure script