Implementing --config argument in the scripts