Add DURATION environmnet variable, change curl example to silent