updated to reflect changes
create directory if it doesnt exists
print usage if wrong command keywork