allow configfile both in initialize and constructor