Improved play availability check in control script