adding admin commands and a few small fixes