Reduce number of forks and processess for dynamic motd