fix homescreen script