Script turned into stand-alone application