old_contents: # CloudShell L1 main
  #
  # It should be unnecessary to edit this file.
  #
  # This file will be the entry point of {{cookiecutter.model_name}}.exe
  #
  # It will be invoked by CloudShell as {{cookiecutter.model_name}} <listening port number>
  
  from cloudshell.core.logger.qs_logger import get_qs_logger
  from l1_driver import L1Driver
  from {{cookiecutter.project_slug}}_l1_handler import {{cookiecutter.model_name}}L1Handler
  import os
  import sys
  
  
  # LOG_PATH required for qs_logger startup
  os.environ['LOG_PATH'] = os.path.join(os.path.dirname(sys.argv[0]), '..', 'Logs')
  
  logger = get_qs_logger(log_group='{{cookiecutter.model_name}}',
                         log_file_prefix='{{cookiecutter.model_name}}',
                         log_category='INTERNAL')
  
  
  # Instantiate your implementation of L1HandlerBase
  handler = {{cookiecutter.model_name}}L1Handler(logger=logger)
  
  # Instantiate standard L1 driver
  driver = L1Driver(listen_port=int(sys.argv[1]), handler=handler, logger=logger)
  
  # Listen for commands forever - never returns
  driver.go()
  
new_contents: # CloudShell L1 main
  #
  # It should not be necessary to edit this file.
  #
  # This file will be the entry point of {{cookiecutter.model_name}}.exe
  #
  # It will be invoked by CloudShell as {{cookiecutter.model_name}}.exe <listening port number>
  
  from cloudshell.core.logger.qs_logger import get_qs_logger
  from l1_driver import L1Driver
  from {{cookiecutter.project_slug}}_l1_handler import {{cookiecutter.model_name}}L1Handler
  import os
  import sys
  
  
  # LOG_PATH required for qs_logger startup
  os.environ['LOG_PATH'] = os.path.join(os.path.dirname(sys.argv[0]), '..', 'Logs')
  
  logger = get_qs_logger(log_group='{{cookiecutter.model_name}}',
                         log_file_prefix='{{cookiecutter.model_name}}',
                         log_category='INTERNAL')
  
  
  # Instantiate your implementation of L1HandlerBase
  handler = {{cookiecutter.model_name}}L1Handler(logger=logger)
  
  # Instantiate standard L1 driver
  driver = L1Driver(listen_port=int(sys.argv[1]), handler=handler, logger=logger)
  
  # Listen for commands forever - never returns
  driver.go()
  
subject: Update main.py