Updating deploy script, fix removeTrack bug