Some script cleanup.