fixed script order