sensor table creation script