added check for config file
added exception handling around $lorry->handle()