Added track numbers to segment files
Fixed script permissions