Parse the params to 'script source' correctly.