Fix entry point for application