Several fixed of things broke after previous commit

Changed passing local episode id instead of remote epidode id in several
scripts.