Giving config.yaml as parameter