added script for playing bagfiles