function getDatasetStatus($sid)
{
    return ExecutionManager::getExecutionStatus($sid);
}
/**
 * Returns status of the story by sid. Excepts sid in POST
 *
 * Takes status value from execinfo table and put it together with relevant information
 */
function GetStoryStatus()
{
    $sid = $_POST["sid"];
    $result = ExecutionManager::getExecutionStatus($sid);
    echo json_encode($result);
}