moved to object-based script, grab repo snapshot instead of using git