setup for relative url