fixed parser (nested "do"s).
fixed init script execution.