Added "select -write" command