Have you downloaded the hotspot.sh file or created your own one with the content i posted? Line 30 and 31 don't contain the parts, you get as an errors, maybe something went wrong while copying and pasting....could you try to download the file?