import os
import sys

# Add application directory to Python path
cwd = os.path.dirname(os.path.abspath(__file__))
if cwd not in sys.path:
    sys.path.insert(0, cwd)

# Import the Flask app as 'application' (Passenger WSGI standard)
from app import app as application
