Added ping script to prevent app sleeping