Added parameters to refresh command.