add wc option to perl commands.