Removed test code and fixed the dynamic t
Removed test code and fixed the dynamic and input text variables to be the right class.