final fix for statup scripts