add OS hacking plugin and related fixes