Shell file for SPA, first cut