Merge "Implement teardown script." into gingerbread