Changed permission to shared directory.
Added template.