daemon script for sdl