Adding system commands so that it can be used for Linux and Mac OS systems.