Added specification of config dir in command line