Initial commit of Andrew's code. Currently the kill-it rule is not working as intended.