startup scripts
added ?reset=last method to api