Added basic schematic support and fixed some script issues