Removing command line arguments and adding config file