Re-wrote script

Re-wrote script, only missing functionality right now is:
- interest areas
- custom scripts