fix config script