added path variable to top of submit route