Added -y
Removed unnecessary lines