removed redundant copying of the runtime environment