Added ability to install apm packages