implemented GENERAL script.
ifzeroed some unimplemented stuff