removed iOS stuff and added squirrel code