replacing appplant implementation due to black screen behaviour