Using config settings for command line worker

e.g. a redis database, ... is now set correctly as written in the config file