Added permissions fix to conversion script.