Separate libs and scripts