Script more reliable now.