modify player script to mantain scale