Rewrite control scripts to enforce Erlang release