adapt script for prior and future