added -p to mkdir