adding something that uses the config files. needs tidy, early days yet