Simplified and added some statistics commands