fixed greader script