ModifyEpisodes function

Modifies values of episodes