add config. modify rename to use

config instead of hard coded values