enabled support for importing config while running submit-dir from different directory