Capfile improved