Changing injection method to support win7