Added ability to pass parameters through to next page