Fixing survey directory creation