refactoring : remove apache commands