functions for souring bash, starting trayer with network