Fixed argv bug.
Version bump to 0.5.0.