added more checks
added url option
added var for restler
got it to work with urls