add power analysis scripts