Fix entry point setup