Fixed IndexError if no argv is present