adding jpeg to jpg replacement