updated script, still not complete
forgot the file