fixed up config script