add flag to source for redirect