added more options to capfile