added initial file
updated script with use of os module