Created a duration once per compile for themes