updated play function
updated pv flags to not show statusbar