* fixed bat path.
 * load debug option from config file.