Making the script more user friendly and triple its speed.