Fixed get_size script