moved expiration to env var