adding linkapps to script