Command_Duration

So, it turns out I didn't test it right or it was working in a different build than I pushed. The duration needs to happen inside the function, which I've done. Sorry about all the commits. I'm kind of new to github.