Added time delay for actions.