Removed first slash
Added option for static url path