Remove dropdowm scripts with a function instead of override