added a loading bar
fixed location of config.php