Flag model completed. Sources hook + JS