Deleted outdated functions and scripts