Fixed dropbox bug and added pipeworks compatibility

This fixes issues #3 and #4