Further improvements in system()