Allow single string specification for upload directory, defaulting to local install. Thanks to Eva König