Rewrite elevator scripts