Small fixes to apache commands