Make "length" an int that can format the time
Add length and length_hms environment variables