added pattern for launch path
changed duplicate behavior to throw an exception in strict mode