Arranged command-line args
Corrected capitialisation of logdog