changing entrypoint to validator.py