Initial copy of scripts from patik.com