exit if not run as root
mkdir if dir not present
missing space before ]