Simplified main file.