hubspace migration script for reference