Partially got machines working. Changed how textures work for machines