Stand alone version for movSword.py