fixed script to use linux execution command