Added seconds as input for wait command