Collated and added appropriate commands for code