Removed unnecessary scripts and functions