Updated configuration script