Merge bash scripts from Work Linux and Mac