Added rendertofile, and explicit path addition