allow uploads directory to be configured