Included system command calling by Thomas K and make it more flexible.