fix permissions and matches
detect and hook media links (live)