Change spec to write to public dir and not root