modified config script