Fix NameError issue, comment out deploy logic until tested