It works! Now to clean it up somewhat.