put system() calls in the read_command() function.