As for /mkdir, the command now errors if the dir already exists, so you now need to check
if !$isdir(path/name) { mkdir path/name }