Basic script interpreter