use ttl from command line