Improved 01b script