Changed exception for excuting commonds