strip out everything except node and python