I think we also want user specified parameters to have higher priority. So need to check if ts_start / ts_end are already specified.