changed to a shellscript