Fixed argument indices for scripts