modified scripts to pocket home