added script for sys calc