Final changes made in scaling and printing functions