Some improvements. Added more options to the config.php