Added new script, modified old

comment

please review and merge