well if u connect via mass storage; either it won't connect properly or you end up clearing the swap space... I don't know how to enter the password for ariadne in the script itself I think you may know how hence I asked you
#chmod +x setswap0 #chmod +x rmswap0
sh /path/to/setswap0
sh /path/to/rmswap0