rewrite deployment scripts
add /public to version control