FIXED: ensure git status remains clean after running main file