How to make script calculator