Removal of Ad code and key