Use a proc to determine the current time in the factories
Merge pull request #23 from JanDintel/fix-factories

Use a proc to determine the current time in the factories