Don't need this script any more, but we might want to make use of parts of it one day.