configure script enhancment