short script to swap profiles