mkdir bug almost fixed -- missing some chown now