Switched to bash scripting