custom storage directory and weight per host