added devtools check
have devtools check as a function which returns invisible TRUE is success otherwise throws error