Create AutoPosition command
work in progress; making autoposition command
debugging autoposition command