Random changes to make scripts more reliable.