excised script for bug