Fixed cosmetic bug on command-line execution