Included subprocess module.
Added a check so we don't add negative times in a TT.