reading from generated script