APSW recipe