capify
add error handling and process title