relocate block of code that adds developer controls