added sleep after 5 minutes and solved some details...