Addition of Arch dependency routine

tested and works with latest versions