added extra options to config: imgage path, required libs and config file