Remove unused code and scripts