implemented wait command
reading config