support run script from file