This script need to recognize device type. mobile, tablet, desktop