fixed helper scripts