Adding functionality to cover for default images