adding things to get this to work on moonlight.