add libs and permissions
add location but need to debug