added option to choose config file