adding a really basic guard to rebuild theme files