bunch of scripting stuff started, still a bigWIP