added getopts for min track, max track and tape length