added some initial work on self updating script