fix some scripts, add trackpad toggle