Updated open example based on new arguments.