Redesigned the two gravatar functions to be the same one using an input variable - duh.