Don't look at this script because it is extremely messy and needs to be cleaned up.