Made script not terrible.