Update script removing unneeded code.