added sql for small tracks
added small track support.