lib must be under scripts