Public Download variables from config

Changing code to include Public Download Settings in configuration file