cleaned up weird if statements

if rt index, send straight to source, no scripting