made the last two lines as commands in powershell script