Updated dev detection