Reversing script order