Added revision checking to DLL