config script fix