Added image rating, tweaked comments to fit new sql script