Improved access application migration code