Wrong command order
Removed duplicate CMD statements