Console script for initialising staging table