Modernize configuration script