moved defaults from cli to lib