updated links to https and cleanup