New laws for opiate prescriptions take effect this Friday