changed a lot in routing and created new config for dynamic input