debug output removed, view script for adding new inventory record added