Remove debugging code from entrypoint