allow to pass config as strings to run_config

instead of passing a file we should also allow config-parsing to run from a string

Edited by Bert Palm