Use sys.argv[0] instead of __file__ path