hack in prepare logic to rebuild files