removed exit
Fixed dispatcher
Fixed embedded script submission