add libs and set snake entry point