fixing footprint script