implemented python (scriptname) (text file name) functionality