Change :erlang.now/0 to :os.timestamp/0