source and period input through env