added multistage to capfile