changed the way frames are initializing
merged from shiva with remove of DS_Store