added directory check and creation for render groups