Removed two functions which weren't used since argparse has been used