corrected CMD and updates as per advice