parse script in the wrong place