-#!/bin/sh -e
-
-dup ctsim -Uftp.med-info.com -D/home/ftp/pub/ctsim -c"(cd /opt/apache/htdocs/ctsim.org; make)"
-
-exit 0
+#!/bin/bash -e
+dup ctsim -Ufiles.kpe.io -D/home/ftp/ctsim -su \
+ -C"(umask 022; cd /srv/www/html/ctsim; make install; find . -type d |xargs chmod go+rx; find . -type f | xargs chmod go+r)" $*