cleaned code and added help on these commands