need to set permissions on importDir as well