Fixed -s and changed to -d in OUTPUT commands.