Fixed script to match dropbox running bad result