updated migration script; improved host config, routes and forms