Implemented run script for karma