reconfigure script