fixed config script