added delay to open command