Add shared scheme and better script