Claim script

This is just a draft but everything should be fine...

Not to be used but can be merged