make devtools installation optional yet automatic for the two functions using devtools