Fixing --serial command. TODO added