run script from string