Correct prebublish script