Console script for initialising staging table

stupid languages, not being python...