now that its a smart-inject script, it shouldnt need all this junk