Perhaps you still have some invalid shaping settings in the webinterface? The output of the script which you started by hand looks good.