Updated sn to use time instead of uuid