Added license, simple example, fixed script