changed youtube script to simulate progess bar