improve regex, add log of imgur links