Added arguement parsing.