Use function to check and source config file; change order of functions called for each option; update documentation and script output