Modifications to capfile