Fix wrong permissions
Fixes #1 using strtol() and strtod() functions