integration.py: calling main if script is executed directly