old_contents: # -*- coding: utf-8 -*-
  """Main module for the PDFEBC project.
  
  Author: Simon Larsén
  """
  import os
  import shutil
  import cli
  import core
  import utils
  
  def main():
      """Run PDFEBC."""
      parser = cli.create_argparser()
      args = parser.parse_args()
      if not args.nomakedir:
          os.makedirs(args.outdir)
      filepaths = core.compress_multiple_pdfs(args.sourcedir, args.outdir, args.ghostscript)
      if args.send:
          utils.send_files_preconf(filepaths)
      if args.clean:
          shutil.rmtree(args.outdir)
  
  if __name__ == '__main__':
      main()
  
new_contents: # -*- coding: utf-8 -*-
  """Main module for the PDFEBC project.
  
  Author: Simon Larsén
  """
  import os
  import shutil
  from . import cli, core, utils
  
  def main():
      """Run PDFEBC."""
      parser = cli.create_argparser()
      args = parser.parse_args()
      if not args.nomakedir:
          os.makedirs(args.outdir)
      filepaths = core.compress_multiple_pdfs(args.sourcedir, args.outdir, args.ghostscript)
      if args.send:
          utils.send_files_preconf(filepaths)
      if args.clean:
          shutil.rmtree(args.outdir)
  
  if __name__ == '__main__':
      main()
  
subject: Fix relative imports in main