From stanalone to bash function.