added foscam control scripts