run command as script