add building samples option