Fixed lib load and added activities