changed it to run on cli with trackname as argument