add set_internal_storage_dir method