import sys
import os

# Add the application directory to the path
sys.path.insert(0, os.path.dirname(__file__))

# Import the 'app' object from your index.py
# cPanel/Passenger specifically looks for a variable named 'application'
from index import app as application
