added option for changing path. Resolved bash script type o.