Working example script