made some changes to the commands