Made my slate repositioning commands work a bit better