Improvements in gds start script and bug corrections