set flask debug mode to true
added track search
renamed var