Use append instead inster in add_libary_action() function