added migration scripts, other clean up fixes for alpha