add allow remote dir