Adding minor changes to main laser driver code
Minor changes to laser driver