change lou tweak into a smart inject script
fix a missing variable, no idea how it worked like that to begin with