add json config
change relative route