Changed script order