added argument parser and corrected json file