finished framework and consolidated input/output scripts