Fixed issue where running container on subsequent runs would fail; fixed directory permissions