Perhaps these discussions will provide some ideas:
The key to all of those processes is having the machine set up so that it homes correctly and has stable positioning.