tmp fix to srikanth's script