Added encoder parameter in config file