Fixed ttl/expire issue. Added url option.