fix a bug with dropbox by storing response and script in separate files