fixed configuration script