Only copy files if they exist
Fix snippet rendering