added code that allows the script to add itself to the user's crontab; generate one if one does not exist or append to an already existing crontab.
More work and testing will be needed so the script isn't spoofed into adding itself to the user's crontab everytime it runs