split entrypoint into run script