made config persistent and add required core packages