made INTERNALDATE and mtime sync support optional