Fix loadpath and put version to file