Created first version of uplogger script