reorganise position of scripts