add variable AFM_APP_INSTALL_DIR to environment