implemented bin2ram script