minor modifications in terms of writing yaml files