Fix script for cover img tag in scope and category;