revert directory structure for imports during deployment