Changed preferences and test for delay command