Replaced erlang:now() with os:timestamp()