Altered File Structure for the three scripts