compile + fix overwritten files