changed order of dependencies so config file can throw errors