Removing unnecessary scripts