Added mining stop and start