Implemented InsertAfter and InsertBefore.
Fixed a warning and removed hard-coded target executable name and changed it to use the setting.