modified for one click installation of APL