Added hook to modify config file path