if run embedded then add a link