First version of the configure file
Functional version