work in progress; making autoposition command