fix variable name
add republish script