changed default port to 5000
moved request up to dependency