added extract solution script