Initial working version of run
add url option