Pla 1641

Added "ref" support as optional url parameter
WAIT FOR QA
Can we split line here too?