Removed unused flag
Fixed 64bit bug
Added utils for easy python use