Simplified main file