KXStudio scripts and misc stuff