Added code to check for sources before the render is run...