Fix minor script bug

Too much copy and paste.