Script ordering